package org.csu.newpetstoreback.common;

import lombok.Getter;

@Getter
public enum ResponseCode {

    SUCCESS(0,"SUCCESS"),
    NOT_FOUND(1,"NOT_FOUND"),
    UNAUTHORIZED(2,"UNAUTHORIZED"),
    NEED_LOGIN(10,"NEED_LOGIN");


    private final int code;
    private final String description;


    ResponseCode(int code,String description){
        this.code = code;
        this.description = description;
    }
}
